// 获取组织结构部门员工信息
import axios from '@/utils/request.js'
export function companyDepartment() {
  return axios({
    url: '/company/department',
    method: 'get'
  })
}
// 新增部门
export function sysUsersimple() {
  return axios({
    url: '/sys/user/simple',
    method: 'get'
  })
}
// 新增员工列表
export function companyDepartmentPost(data) {
  return axios({
    url: '/company/department',
    method: 'post',
    data
  })
}
// 编辑部门
export function companyDepartmentPut(data) {
  return axios({
    url: '/company/department/' + data.id,
    method: 'put',
    data
  })
}
// 删除
// 编辑部门
export function companyDepartmentDelete(id) {
  return axios({
    url: '/company/department/' + id,
    method: 'delete'
  })
}
